<%-- 
    Document   : cabang_new
    Created on : Nov 20, 2008, 1:56:18 PM
    Author     : hp02
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<table>
    <tr>
        <td class="menucon">
            <html:link action="/cab_getcabangs.do" title="Go to main.">Branch Offices</html:link>
        </td>
    </tr>
</table>
<html:messages id="messages" property="customMessage" message="true">
    <div class="heading4"><bean:write name="messages"/></div>
</html:messages>
<html:errors/>
<html:messages id="messages" property="message" message="true">
    <ul>
        <li><bean:write name="messages"/></li>
    </ul>
</html:messages>
<html:form action="/cab_save.do" method="post">
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>Code</td>
            <td>:</td>
            <td><html:text property="kode"/></td>
        </tr>
        <tr>
            <td>City</td>
            <td>:</td>
            <td><html:text property="kota"/></td>
        </tr>
        <tr>
            <td>Address Line</td>
            <td>:</td>
            <td><html:text property="alamat"/></td>
        </tr>
        <tr>
            <td>Email</td>
            <td>:</td>
            <td><html:text property="email"/></td>
        </tr>
        <tr>
            <td>Contact</td>
            <td>:</td>
            <td><html:text property="kontak"/></td>
        </tr>
        <tr>
            <td>Phone Number</td>
            <td>:</td>
            <td><html:text property="telp"/> e.g. 123-456789</td>
        </tr>
        <tr>
            <td colspan="3"><html:submit value="Save Now and Leave" property="submit"/> Or <html:submit value="Save Now and Stay" property="submit"/></td>
        </tr>        
    </table>
</html:form>